package com.sinochem.yunlian.ship.zuul.feign;

import com.sinochem.yunlian.ship.api.vo.bs.BsVersionVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * ${DESCRIPTION}
 *
 * @author cyp
 * @create 2017-11-25 11:58
 */
@FeignClient(value = "ship-base")
@RequestMapping("api")
public interface IVersionService {

	/**
	 * 获取appVersion信息
	 *
	 * */
	@RequestMapping(value = "/ver/versionInfo/{appId}", method = RequestMethod.GET)
	public BsVersionVo getVersionInfoByAppId(@PathVariable("appId") String appId);

}
